<? 
$list_views = array ("d" => "dsp_filelist_details.php",
                     "t" => "dsp_filelist_thumbs.php");
if ($filename!="") 
{
    include ("dsp_media_info_header.php");
}
else 
{
    $window_height_offset = 25;  
}
$window_height_offset += $toolbar_height_offset;	

/* FILE/FOLDER list */

print '<div id=Dx style="width:expression(document.body.offsetWidth-'.$window_width_offset.');';
print 'height:expression(document.body.offsetHeight-'.$window_height_offset.');background-color:white;'; 

if (!$is_pocketpc) 
{
    print 'overflow:auto;border:inset 1px;';
}
if (!$showlist&&!$is_blackberry) 
{
    print 'display:none;'; 
}
print '" class="resizeXY"';
if ($view=="t")
{
    print ' onscroll="scroll_display()" ';
} 
print '>'; 
include ($list_views[$view]);

print "</div>";
?>   

	